package com.mrd.mina;

import org.apache.mina.core.session.IoSession;

/**
 * Created by xiaoyi on 2017/5/25.
 */

public interface MinaCallback {
    void onConnected(IoSession session);

    void onException(IoSession session, Throwable cause);

    void onReceiveMessage(IoSession session, Object message);

    void onDisConnected(IoSession session);
}
